Release 10.1A: OpenEdge Development:
ADM Reference


widgetValueList

Takes the name of one or more objects and a delimiter and returns the INPUT-VALUE of the object. In the case of a browse column reference from within a ROW-DISPLAY event, it returns the BUFFER-VALUE from the RowObject buffer field. SmartDataFields do not have a standard function for returning an unformatted value so this function does nothing for SmartDataFields and returns unknown.

If a field in the list is not found or a field has an unknown value, the function returns “?” for its value in the returned character list.

Location: visual.p

Parameters:

INPUT namelist AS CHARACTER

The name of one or more objects, separated by commas.

INPUT delimiter AS CHARACTER

(Optional) Specifies the delimiter to use for the return value only. Specify “?” to use the default delimiter, which is the pipe character (“|”).

Returns: CHARACTER

Notes:

The following illustrates the use of this method in 4GL code for use with a graphical user interface:

ASSIGN 
 cValues = widgetValueList("Self.discount,balance":U, ?) 
 iDiscount = INTEGER(ENTRY(1, cValues, "|":U)) 
 dBalance = DECIMAL(ENTRY(2, cValues, "|":U)). 

The following illustrates the use of this method in DHTML code for use with a Web browser:

cValues=logic.widgetValueList(‘customerviewv.discount,customerviewv.balance’
); 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095